package rmi.analytics.server;

import java.rmi.Remote;
import java.rmi.RemoteException;

import rmi.eventing.types.Event;
//Remoteinterface for AnalyticsServer
public interface AnalyticsInterface extends Remote {
	//used to subscribe MC for events
	public int subscribe(String filter, RemoteClientAnalyticsInterface rc) throws RemoteException;
	//used to unsubscribe MC
	public String unsubscribe(int id) throws RemoteException;
	//gets Events vom ACServer
	public void processEvent (Event ev) throws RemoteException;
}
